package com.library.entity;

import java.util.Date;

public class BorrowRequest {
    private Long id;
    private Long userId;
    private Long bookId;
    private String status;
    private Date requestTime;
    private Date approvedTime;
    private Date returnTime;
    private Long approverId;

    public BorrowRequest() {}

    public BorrowRequest(Long id, Long userId, Long bookId, String status, Date requestTime, Date approvedTime, Date returnTime, Long approverId) {
        this.id = id;
        this.userId = userId;
        this.bookId = bookId;
        this.status = status;
        this.requestTime = requestTime;
        this.approvedTime = approvedTime;
        this.returnTime = returnTime;
        this.approverId = approverId;
    }

    public Long getId(){return id;}
    public void setId(Long id){this.id = id;}

    public Long getUserId(){return userId;}
    public void setUserId(Long userId){this.userId = userId;}

    public Long getBookId(){return bookId;}
    public void setBookId(Long bookId){this.bookId = bookId;}

    public String getStatus(){return status;}
    public void setStatus(String status){this.status = status;}

    public Date getRequestTime(){return requestTime;}
    public void setRequestTime(Date requestTime){this.requestTime = requestTime;}

    public Date getApprovedTime(){return approvedTime;}
    public void setApprovedTime(Date approvedTime){this.approvedTime = approvedTime;}

    public Date getReturnTime(){return returnTime;}
    public void setReturnTime(Date returnTime){this.returnTime = returnTime;}

    public Long getApproverId(){return approverId;}
    public void setApproverId(Long approverId){this.approverId = approverId;}

}
